/*
 * Node.h
 *
 *  Created on: Apr 20, 2011
 *      Author: gilang
 */

#ifndef NODE_H_
#define NODE_H_
#define VOLUME 3
#define AREA 2
#define LINE 1

class Node {
protected:
	double *coordinates;
	Node *nextNode;
public:
	Node();
	Node(Node&);
	virtual ~Node();
	virtual void setCoordinates(double *);
	virtual double* getCoordinates();
	virtual bool equal(Node&);
	virtual void setCoordValue(int,double);
	virtual double getCoordinate(int);
	virtual void setNextNode(Node*);
	virtual Node* getNextNode();

};

#endif /* NODE_H_ */
